﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XbsWebAPI.Application
{
    /// <summary>
    /// 编辑营位模型
    /// </summary>
    public class EditCampDto
    {
        /// <summary>
        /// 营位Id
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 营位名称
        /// </summary>
        [Required]
        [StringLength(50)]
        public string Name { get; set; }

        /// <summary>
        /// 封面图
        /// </summary>
        [Required]
        public string CoverPic { get; set; }

        /// <summary>
        /// 房间设施
        /// </summary>
        [Required]
        [StringLength(300)]
        public string RoomFacility { get; set; }


        /// <summary>
        /// 营位服务
        /// </summary>
        [Required]
        [StringLength(300)]
        public string CampService { get; set; }

        /// <summary>
        /// 预订须知
        /// </summary>
        [Required]
        [StringLength(500)]
        public string BookingInformation { get; set; }


        /// <summary>
        /// 营位介绍
        /// </summary>
        [Required]
        public string Introduce { get; set; }


        /// <summary>
        /// 营位对象的轮播图
        /// </summary>
        [Required]
        public virtual ICollection<EditCampImageDto> CampImages { get; set; }
    }
}
